package tcln.gxtx.client.utils;

/**
 * A standard predicate for object evaluation.
 * 
 * @param <T>
 *            Evaluating object type.
 * @author Truong Chau Lien Ngoc (lienngoc@gmail.com)
 */
public interface Predicate<T> {

    /**
     * Evaluates given object according to requested criteria.
     * 
     * @param object
     * @return <code>true</code> if given object satisfies all requested criteria.
     */
    boolean evaluate(T object);
}
